﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MMS.Model
{
    public class BuyGoodsInfo : GoodsInfo
    {
        /// <summary>
        /// 购买数量
        /// </summary>
        public int BuyCount { get; set; }
        /// <summary>
        /// 优惠
        /// </summary>
        public double Coupon { get; set; }


        /// <summary>
        /// 小计
        /// </summary>
        public double XiaoJi
        {
            get
            {
                return this.SalePrice * BuyCount;
            }
        }
    }
}
